switchroot: Fix test-switchroot now autotools can build static
authorWilliam Manley <will@williammanley.net>
Wed, 31 Aug 2016 17:14:19 +0000 (18:14 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 1 Sep 2016 20:17:58 +0000 (20:17 +0000)
commit598e3240ff523ca827d225271b6e68da90a5e572
treeece58dac2e2995761cb59374475f444ada1279ff
parent4d3b93e2ad1041fa36e740cba35284d17752e928
switchroot: Fix test-switchroot now autotools can build static

This test previously depended on manually building ostree-prepare-root.
Since 42dab85 we've been able to build static binaries with the usual
autotools build-system.  This change reflects the fact that
`ostree-prepare-root` is built into $srcdir rather than `src/switchroot`
where I was building manually.

This test now passes with `./configure --with-static-compiler=gcc` (glibc)
but still fails with `./configure --with-static-compiler=musl-gcc` (musl).

Closes: #485
Approved by: cgwalters
tests/test-switchroot.sh